package com.jingxi.mapper;

import com.jingxi.model.TbItem;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TbItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbItem record);

    int insertSelective(TbItem record);

    @Select("SELECT * FROM tb_item")
    List<TbItem> selectList();

    TbItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbItem record);

    int updateByPrimaryKey(TbItem record);
}